package com.example.gzysmartcity.ui.fragment.home;

import android.os.Bundle;
import android.view.View;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.example.gzysmartcity.databinding.FragmentNewsBinding;
import com.example.gzysmartcity.ui.base.BaseFragment;

import org.jetbrains.annotations.NotNull;


public class NewsFragment extends BaseFragment<FragmentNewsBinding> {

    @Override
    protected FragmentNewsBinding viewBinding() {
        return FragmentNewsBinding.inflate(getLayoutInflater(), baseBinding.getRoot(), true);
    }

    @Override
    public void onViewCreated(@NonNull @NotNull View view, @Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
//        b.webNews.loadDataWithBaseURL(str, content, "text/html", "utf-8", null);
    }

    @Override
    protected String setTitle() {
        return "新闻详情";
    }

    @Override
    protected boolean showBack() {
        return true;
    }

    @Override
    protected Boolean showBottom() {
        return null;
    }
}